home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / ada / c01oop.zip / CPPWKBK / CPPV2-12.CPP < prev    next >
C/C++ Source or Header  |  1992-08-25  |  253b  |  14 lines

  1. #define HEADER "C++ Problem 2.1 by Rick Conn using Borland C++"
  2. #include <stdio.h>
  3.  
  4. int fcppv21(float);  // prototype with wrong arg type
  5.  
  6. void main(void)
  7. {
  8.   int i;
  9.  
  10.   printf("%s\n", HEADER);
  11.   i = fcppv21(2.0);
  12.   printf("I = %d\n", i);
  13. }
  14.